package com.hitqz.robot.api.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 网络映射管理表
 *
 */
@Data
@TableName("network_mapping")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "网络映射管理表")
public class NetworkMappingEntity extends Model<NetworkMappingEntity> {

    @TableId(type = IdType.AUTO)
    @Schema(description="id")
    private Integer id;

    @Schema(description="备注")
    private String remark;

    @Schema(description="前端浏览器输入的host ip")
    private String host;

    @Schema(description="目标")
    private String target;

    @Schema(description="映射")
    private String mapping;

}